package com.dao.secondary.device;
import com.model.domain.device.GetDevicePcbVersionInfoDO;
import com.model.domain.device.GetDevicePmdVersionInfoDO;
import com.model.pojo.device.DevicePcbVersionInfo;
import com.model.pojo.device.DevicePmdVersionInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DevicePcbVersionInfoMapper {
    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(DevicePcbVersionInfo record);

    int insertSelective(DevicePcbVersionInfo record);

    DevicePcbVersionInfo selectByPrimaryKey(@Param("id") Long id);

    int updateByPrimaryKeySelective(DevicePcbVersionInfo record);

    int updateByPrimaryKey(DevicePcbVersionInfo record);

    List<DevicePcbVersionInfo> selectList(GetDevicePcbVersionInfoDO getdevicePcbVersionInfoDO);

    void insertListSelective(List<DevicePcbVersionInfo> devicePcbVersionInfoList);

    void updateListSelective(List<DevicePcbVersionInfo> devicePcbVersionInfoList);

    int has(@Param("devicePcbVersionInfoId") Long devicePcbVersionInfoId, @Param("isDelete") Byte isDelete);
}